{% extends "main.html" %}


{% block content %}
{% if user.is_staff %}
    <form action="" method="post">
            {% csrf_token %}
            Do you want to delete the record {{ object.despesa }}?<br /><br />
<input type="submit" value="Delete" />
<INPUT TYPE="button" VALUE="Cancel" onClick="history.go(-1);return true;">
    </form>
{% else %}
You don't have permissions to access this page
{% endif %}
{% endblock  %}

